<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Inner document</title>
</head>
<body>
<h1>Inner</h1>
<script>
document.body.onfocus = function() {
    parent.postMessage("innerbodyfocus,", "*");
}
document.body.onblur = function() {
    parent.postMessage("innerbodyblur,", "*");
}
</script>
</body>
</html>
